package First;

import java.util.Scanner;

public class Test {

	public static void main(String[] args) {
		String[] deliveryareas={"area1","area2","area3","area4","area5"};
		Person d=new DeliveryMan("007","Bang",deliveryareas);
		System.out.print(d.toString());
		System.out.print("\n");
		System.out.print("input area name:\n");
		Scanner sc=new Scanner(System.in);
		String area=sc.next();
		if(d.check(area)) {
			System.out.print("yes");
		}
		else {
			System.out.print("sorry");
		}
		
	}

}
